﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataAccessLayer;
using DataTier;

namespace BusinessTier
{
    public interface IBCustomer
    {
        Customer customerLogin(string email, string password);
        List<Subscription> GetSubscriptions(int customerId);
        IList<Customer> GetAllCustomers();
        void DeleteCustomerById(int id);
        void UpdateCustomer(int id, string uName, string name, string address, int zip, string email, string password);
        void CreateCustomer(string uName, string name, string address, int zip, string email, string password);
        string GetCityFromZip(int zip);
        Customer GetCustomerByUserName(string username);

    }
}
